package main

import (
	"order-master/appconfig"
	"order-master/models"
	"order-master/router"
)

func main() {

	//加载配置
	appconfig.Init()
	//连接mysql
	models.Init()
	//运行项目
	r := router.Init()
	r.Run(":8000")
}
